import http from '../util/request.js'

export default {
    // 获取性别比例统计数据
    getGenderRatio: () => {
        return http({
            url: '/api/statistics/gender-ratio',
            method: 'get'
        });
    },

    // 获取紧急事务类型比例统计数据
    getEmergencyTypeRatio: () => {
        return http({
            url: '/api/statistics/emergency-type-ratio',
            method: 'get'
        });
    },

    // 获取基础统计数据
    getBasicCounts: () => {
        return http({
            url: '/api/statistics/basic-counts',
            method: 'get'
        });
    },

}
    